import { createBrowserRouter} from "react-router-dom";

import Home from  "../view/Home"
import About from  "../view/About"
import Parent from "../view/Parent";
import Usemeno from "../view/Usemeno";
import Control from "../view/Control";
import UnControl from "../view/UnControl";

const RouterView = createBrowserRouter([
    {
        path:'/',
        element: <Home />,
    },
    {
        path:'/about',
        element: <About />,
    },
    {
        path:'/parent',
        element:<Parent/>
    },
    {
        path:'/usemeno',
        element:<Usemeno/>
    },
    {
        path:'/control',
        element:<Control/>
    },
    {
        path:'/uncontrol',
        element:<UnControl/>
    }
])
 
export default RouterView


